[qemu] Fix PCI config header space writes and set Subsystem-Vendor ID fields.
authorChristian Limpach <Christian.Limpach@xensource.com>
Mon, 28 Aug 2006 21:43:09 +0000 (22:43 +0100)
committerChristian Limpach <Christian.Limpach@xensource.com>
Mon, 28 Aug 2006 21:43:09 +0000 (22:43 +0100)
commitc9325b7833ec65e3abfb026e7d816de2be69109b
treefcc268324579286b0729ef7605cd2805f5c73db4
parent6c35586274021b376b0985008c6af0e3dfc21ffd
[qemu] Fix PCI config header space writes and set Subsystem-Vendor ID fields.
Fix failure in Windows HCT's PCI-Compliance-Test by invalidating the
writing to read-only/reserved fields in PCI configuration space header
and giving Subsystem-Vendor-ID field a valid value via copying Vendor-ID
field into it.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
tools/ioemu/hw/pci.c
tools/ioemu/hw/rtl8139.c
tools/ioemu/hw/usb-uhci.c